
#include <stdio.h>
#include <unistd.h>
#include "../compile_bsp/system.h"

volatile unsigned int *led_ptr = (unsigned int*) (LED_BASE);
volatile unsigned int *nic_ptr = (unsigned int*) (NIC_INTERFACE_BASE);


void delay(unsigned int count) {

	while(count) count--;

}

int main()
{

 while(1){

	 *led_ptr = 0xFFFF;
	 usleep(1000000);
	 *led_ptr = 0x0000;
	 usleep(1000000);


 }






  return 0;
}
